package com.angel.web.health;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.angel.core.util.Pager;
import com.angel.health.BuzBluetooth;
import com.angel.provider.health.BuzBluetoothProvider;

/** 
* @author 作者姓名  cheng
* @version 
* 创建时间：2016年11月24日 下午4:44:59 
* 类说明 
*/
@Controller
@RequestMapping("/bluetooth")
public class BuzBluetoothController {
	@Autowired
	private BuzBluetoothProvider buzBluetoothProvider;

	@RequestMapping("index")
	public String index(BuzBluetooth buzBluetooth,Pager pager,HttpServletRequest req){
		Pager bean = buzBluetoothProvider.findAll(buzBluetooth,pager);
		req.setAttribute("pager", bean);
		return "bluetooth/bluetooth";
	}
}
